export interface ArticleParams {
  draft_id: string | number;
}

interface AuthorUserInfo {
  avatar: string;
  user_id: string | number;
}

interface ArticleDraft {
  article_id: string | number;
  brief_content: string;
  title: string;
}

export interface ArticleGetResultModel {
  draft_id: string | number;
  author_user_info: AuthorUserInfo;
  article_draft: ArticleDraft;
}

export interface AddArticleGetResultModel {
  id: number;
}

export interface AddDraftParams {
  // @Column({ comment: '标题' })
  title: string;
  // @Column({ comment: '内容', type: 'text' })
  content: string;
}

export interface UpdateDraftParams {
  id: number;
  // @Column({ comment: '标题' })
  title: string;
  // @Column({ comment: '内容', type: 'text' })
  content: string;
}
